﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ninject;
using Ninject.Modules;

namespace CCM.CronTaskScheduler.Tests {
    public class TestKernel : NinjectModule {
        public override void Load() {
            Kernel.Bind<INotificationProvider>().To<NotificationProvider>().InSingletonScope();
            Kernel.Bind<ITaskRepository>().To<MemoryTaskRepository>().InSingletonScope();
            Kernel.Bind<IRunTimeManager>().To<RunTimeManager>().InSingletonScope();
            Kernel.Bind<IScheduleManager>().To<ScheduleManager>().InSingletonScope();
        }
    }
}
